#include<iostream>

class Edge
{
protected:
    //边的流量 左右点的id 长度
    int left_id;
    int right_id;
    double edge_flow_rate;
    double length;
public:
    //点的初始化，获取，修改
    Edge();
    Edge(int leftid,int rightid,double flow_rate,double len);
    int getLeftId();
    int getRightId();
    double getEdgeFlowRate();
    double getLength();
    void setLeftId(double left_id);
    void setRightId(double right_id);
    void setEdgeFlowRate(double flow_rate);
    void setLength(double len);
};